package com.woniuxy.portal.service;

import com.woniuxy.portal.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.portal.model.vo.CardVo;
import com.woniuxy.portal.model.vo.OrderVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者
 * @since 2023-09-15
 */
public interface IOrderService extends IService<Order> {

    void submitOrder(Integer userId, Integer addressId, CardVo cardVo, String orderNum);

    List<OrderVo> queryWaitPayOrder(Integer userId);

    void payOrder(Long orderId);
}
